package com.mrjy.schooldiy.dao;

import java.util.List;

import com.mrjy.common.entity.DiyArticleInfo;
import com.mrjy.schooldiy.dto.DiyArticleDTO;

public interface IDiyArticleDao {


	int updateDisableFlag(DiyArticleInfo articleInfo);

	int insertDiyArticle(DiyArticleInfo articleInfo);

	int updateDiyArticle(DiyArticleInfo articleInfo);

	List<DiyArticleDTO> queryPageForPc(DiyArticleInfo articleInfo);

	int countPageForPc(DiyArticleInfo articleInfo);

	List<DiyArticleDTO> queryPageList(DiyArticleInfo articleInfo);

	DiyArticleDTO queryArticleById(DiyArticleInfo articleInfo);

	int addArticleViewNum(Integer id);

}
